package cn.edu.scau.cmi.yanweijie.jdbc;

public class Instructor {
	private String instructorName;
	private Integer instructorId;
	
public Instructor() {
		
	}
public Instructor(String name,Integer id) {
		this.instructorName = name;
		this.instructorId = id;
	}
	
	public String getInstructorName() {
		return instructorName;
	}
	public void setInstructorName(String instructorName) {
		this.instructorName = instructorName;
	}
	public Integer getInstructorId() {
		return instructorId;
	}
	public void setInstructorId(Integer instructorId) {
		this.instructorId = instructorId;
	}
	@Override
	public String toString() {
		return "Instructor [instructorName=" + instructorName + ", instructorId=" + instructorId + "]";
	}
	
}
